﻿<div class="m-portlet m-portlet--mobile">
    <div class="m-portlet__body">
        <p-tree [value]="treeData" selectionMode="single" (onNodeSelect)="onNodeSelect($event)" [contextMenu]="assemContextMenu"
            [(selection)]="selectedAssem" draggableNodes="false" droppableNodes="false">
            <ng-template let-node pTemplate="default">
                <div>
                    <div>
                        {{node.label}}
                    </div>
                    <small style="font-size: 0.82em; opacity:.5;">{{node.title}}</small>
                </div>
            </ng-template>
        </p-tree>
        <p-contextMenu #assemContextMenu [model]="assemContextMenuItems"></p-contextMenu>
    </div>
</div>
